package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class Employee {
    private Long id;
    private String username;
    private String name;
    private String password;
    private String email;
    private Integer age;
    private boolean admin;  // 包装类不止两种结果
    // 关联属性 ,能够用于部门的id和name
    private Department dept;
}